package com.zzl.boot.bigevent.service;

import com.zzl.boot.bigevent.pojo.category;
import com.zzl.boot.bigevent.pojo.result;

import java.util.List;

public interface categoryService {
    void addCategory(category category);

    List<category> getAllCategory();

    category getCategoryDetail(Integer id);

    void updateCategory(category category);

    result delById(Integer id);
}
